﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Arcadium.GameEntities.Characters
{
    /// <summary>
    /// A shell used for remote characters, not entirely in need for their own updating.
    /// </summary>
    class RemoteCharacter : Character
    {
        public RemoteCharacter(World world, int startDirection, CharacterType characterType) : base(world)
        {
            SetTexture(characterType);
            Direction = startDirection;
            switch (characterType)
            {
                case CharacterType.Player:
                    Position = world.Map.GetPlayerSpawnPoint(0);
                    Weapon = new HandGun(world, this);
                    break;
                case CharacterType.SmallEnemy:
                    int spawnArea = -1;
                    Position = world.Map.GetRandomSpawnPoint(ref spawnArea, 0);
                    break;
                case CharacterType.BigEnemy:
                    break;
                case CharacterType.Ghost:
                    break;

                // TODO: Add more remote properties-asignments.

            }
        }
    }
}
